﻿@model LoginWithRecoveryCodeModel

@{
    ViewData["Title"] = "Recovery code verification";
    Layout = "_WindowLayout";
}

<p>
    You have requested to login with a recovery code. This login will not be remembered until you provide
    an authenticator app code at login or disable 2FA and login again.
</p>

<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
    <label asp-for="RecoveryCode"></label>
    <input asp-for="RecoveryCode" class="form-control" autocomplete="off" />
    <span asp-validation-for="RecoveryCode" class="text-danger"></span>
</div>

@section Footer {
    <button asp-action="LoginWithRecoveryCode" asp-route-returnUrl="@ViewData["ReturnUrl"]" type="submit" class="btn btn-primary">Login</button>
}

@section Scripts {
    <partial name="_ValidationScriptsPartial" />
}
